#!/usr/bin/env python
#####################################
# Installation module for exploit-db
#####################################

# AUTHOR OF MODULE NAME
AUTHOR="Mauro Risonho de Paula Assumpcao (firebits)"

# DESCRIPTION OF THE MODULE
DESCRIPTION="This module will install/update exploit-db - official exploit repo from OFFSEC"

# INSTALL TYPE GIT, SVN, FILE DOWNLOAD
# OPTIONS = GIT, SVN, FILE
INSTALL_TYPE="GIT"

# LOCATION OF THE FILE OR GIT/SVN REPOSITORY
REPOSITORY_LOCATION="https://github.com/offensive-security/exploit-database.git"

# WHERE DO YOU WANT TO INSTALL IT
INSTALL_LOCATION="exploit-db"

# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="git"

# DEPENDS FOR FEDORA INSTALLS
FEDORA="git"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="sed -i 's/gitpath=\"\/opt\/exploit-database\"/gitpath=\"\/pentest\/exploitation\/exploit-db\"/g' /{INSTALL_LOCATION}/searchsploit "

# STUFF TO COPY TO PATH
LAUNCHER="searchsploit"
